package com.gxuwz.common;

import com.gxuwz.util.MessageUtil;

/**
 * 微信消息工厂
 * Created by h on 2017/11/24.
 */
public class MessageFactory {

    public static String getRespContent(String type){
        switch (type){
            case MessageUtil.REQ_MESSAGE_TYPE_IMAGE:
                return "您发送的是图片消息！";
            case MessageUtil.REQ_MESSAGE_TYPE_LOCATION:
                return "您发送的是地理位置消息！";
            case MessageUtil.REQ_MESSAGE_TYPE_LINK:
                return "您发送的是链接消息！";
            case MessageUtil.REQ_MESSAGE_TYPE_VOICE:
                return "您发送的是音频消息！";
            default:
                return "不解释.";
        }
    }


}
